package com.demo.salary.transactionimplementation;

import com.demo.salary.abstracttransactions.ChangeMethodTransaction;
import com.demo.salary.payrollimplementation.HoldMethod;
import com.demo.salary.payrolldomain.PayMethod;

public class ChangeHoldTransaction extends ChangeMethodTransaction {


    public ChangeHoldTransaction(int empId) {
        super(empId);
    }

    @Override
    PayMethod getMethod() {
        return new HoldMethod();
    }
}
